UserType
extends AbstractType
in package
Table of Contents
Methods
- buildForm() : void
- Build the form for creating or editing a user.
- configureOptions() : void
- Configure the options for the User form.
Methods
buildForm()
Build the form for creating or editing a user.
public
buildForm(FormBuilderInterface $builder, array<string|int, mixed> $options) : void
Parameters
- $builder : FormBuilderInterface
-
The form builder
- $options : array<string|int, mixed>
-
The options for this form
configureOptions()
Configure the options for the User form.
public
configureOptions(OptionsResolver $resolver) : void
Parameters
- $resolver : OptionsResolver
-
The options resolver.